<template>
  <div class="box">
    <div class="media_box">
      <div class="media_item">
        <img src="../../assets/img/header/weixin.svg" alt="">
      </div>
      <div class="media_item">
        <img src="../../assets/img/header/H5.svg" alt="">
      </div>
      <div class="media_item">
        <img src="../../assets/img/header/pc.svg" alt="">
      </div>
      <div class="media_item">
        <img src="../../assets/img/header/phone.svg" alt="">
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: 'Vue-Header', 
  data() {
    return {

    }
  },
  methods: {

  }
}
</script>

<style lang="less" scoped>
  .box {
    width: 100%;
    height: 60px;
    background-color: #3B60CF;
    position: relative;

    .media_box {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);

      width: 20%;
      display: flex;
      flex-direction: row;
      justify-content: space-around;
      align-items: center;

      .media_item {
        width: 40px;
        height: 40px;
        padding: 5px;
        border-radius: 50%;
        background-color: #fff;
        
        img {
          width: 100%;
          height: 100%;
        }
      }
      .media_item:hover {
        cursor: pointer;
      }
    }
  }
</style>